package edu.wit.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.wit.common.web.PageResult;
import edu.wit.system.domain.AffairsWorkflow;
import edu.wit.system.domain.dto.AffairsWorkflowDto;
import edu.wit.system.domain.vo.AffairsWorkflowVo;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author yyh
 * @email 664287382@qq.com
 * @date 2021-05-26 11:45:36
 */
public interface AffairsWorkflowService extends IService<AffairsWorkflow> {

	/**
	 * 查询列表
	 */
    PageResult<AffairsWorkflowDto> queryPage(Map<String, Object> params);

    /**
     * 查询详细
     */
    AffairsWorkflowDto getById(Long id);

     /**
     * 保存
     */
    boolean saveInfo(AffairsWorkflowVo affairsWorkflowVo);

     /**
     * 删除
     */
    void delete(List<Long> workflowIds);

	List<AffairsWorkflowDto> getList(Map<String, Object> params);

    Long selectWorkflowIdByWorkflowTypeAndPid(String workflowType);

    List<AffairsWorkflowDto> selectWorkflowList(String projectId, String serviceCorporationId,String workflowType);

    boolean saveWageWorkflow(AffairsWorkflowVo affairsWorkflowVo);

    AffairsWorkflow selectWorkflowById(Long workflowId);
}

